Export doesent work with GIF's

Hello

I would like to create some GIF-animations. But the export doesnt work with the extention “gif”.

SetDirectory[NotebookDirectory[]]

Plot[Sin[x], {x, -[Pi], [Pi]}]

Export[“test.gif”, %]

I dont get no error-message or so, but the produeced file has a size of 98Bytes and cant be opened with any viewer. I have the same problem also on my laptop with the homuse-license.

My system:
mathematica: 10.1,
Windows: 8.1

Exporting to other formats works without problems

Does anybody else has this problem too?

Hi,

could you try whether the function

NotebookDirectory[]

evaluates correctly, because it does not seem to work in my notebook right now (MMA10.1; OS X 10.10.3); I have reproduced that on several computers and also under 10.0.2. It does work in the documentation though.

If that is the case you might want to export the gif-file into a preset folder to check whether the export works. It does work on my system.

Cheers,

M.

The directory is not the problem. I have the same problem also when I export to the standard-directory.

Sorry, I cannot reproduce that under OS X.