« first day (1679 days earlier)      last day (2802 days later) » 

7:58 AM
@Sascha It looks like a good solution to the OP's problem. I was focusing too much on my own difficulties with Function instead of the specific problem in the question ...
If you use MaTeX, please do upgrade to version 1.6.0 and let me know of any problems!
 
 
2 hours later…
10:15 AM
Hi everybody,
I am planning to smooth my data with a SavitzkyGolay Filter. I found the following:
http://mathematica.stackexchange.com/questions/37380/savitzky-golay-filter-to-smooth-noisy-data
Now I tried to use the script SavitzkyGolay.m which I downloaded from the link.

My code looks like

SetDirectory[NotebookDirectory[]];
<< SavitzkyGolay.m
?SavitzkyGolayFilter

But only an error occurs saying:
Get::noopen: Cannot open SavitzkyGolay.m. >>

What am I doing wrong?
 
10:27 AM
@Jacccy Directory[] must contain SavitzkyGolay.m. If it doesn't, either change the working directory using SetDirectory to where the .m file is; or copy the .m file to the current working directory.
@Jacccy You can also place the .m file into a directory which is in $Path. Typically that is FileNameJoin[{$UserBaseDirectory, "Applications"}] . This is used for installing a package permanently.
 
@Szabolcs Hi, the .m file already is copied to the current woring directory ;(
 
11:04 AM
@Jacccy So if you evaluate FileNames[], then you see "SavitzkyGolay.m" in the result list?
@Jacccy You are changing to the notebook directory. Is that where the .m file is?
 
11:34 AM
@Szabolcs Hi yes I see it by evaluating FileNames[], I don't understand why it did not work, now I used your tip to use FileNameJoin[{$UserBaseDirectory, "Applications"}], that is working quite well ;)
 
11:45 AM
@Jacccy Are you using Chinese Windows?
 
11:58 AM
@Szabolcs No=)
 
Then I am out of ideas about why it doesn't work.
 
@Szabolcs Thank you very much anyway, your tip with FileNameJoin[{$UserBaseDirectory, "Applications"}] is working ;)
 
 
3 hours later…
3:18 PM
So frustrating. Every other program I've tried can import CSVs with new lines contained within quoted text except Mathematica.
ImportString["1,\"abc\ndef\"", "CSV"]
Setting "TextDelimeters" explicitly doesn't help.
 
3:43 PM
Found this
3
Q: Importing CSV with multiline text fields

ArcindeHere is a valid CSV: a1,b1,c1,d1,"e1 e1 e1" a2,b2,"c2 c2 c2",d2,e2 It has two rows and five columns, and contains two fields with embedded CRLF. (See the CSV standard). But Mathematica doesn't parse it as such. Import["test.csv", "CSV"] Result: {{"a1,b1,c1,d1,\"e1"}, {"e1"}, {"e1\""}, {"a2...

 
4:19 PM
Is there anyone around who uses Windows and has a space in their Windows username? If yes, could you test this? mathematica.stackexchange.com/questions/124570/…
I wonder what happens when $LocalSymbolBase itself has a space in it ...
 
4:33 PM
@Szabolcs There is certainly a bug there
I would report it
 

« first day (1679 days earlier)      last day (2802 days later) »