Peter, what a quick response!
But unfortunately, yes I tried the ncdf package, I looked at the examples, but after 2 hours trying and many, many errors, I gave up..... Bart ----- Original Message ----- From: "Peter Dalgaard" <[EMAIL PROTECTED]> To: "Bart Joosen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2007 4:56 PM Subject: Re: [R] export R-data to VisIt Bart Joosen wrote: > Hello, > > Is there anyone porting R data to VisIt (http://www.llnl.gov/visit/)? > Altough VisIt accepts 5 dozen of data formats, I can't get my data into > VisIt. > > I currently ran a simulation which gave me a data frame, which I wanted to > import into VisIt to further explore the dataframe. > > Let's say I have a data frame as follows: > > dat <- data.frame(cbind( 1, 1:10),X3= sample(LETTERS[1:3], 10, > repl=TRUE)) > > My currently data export is write.table(dat,"C:/filename.csv") > But I can't import this kind of data in Visit. > An option is to export my dataframe as a .CDF file, but I couldn't get the > right output of my dataframe with netcdf. > > So how do I put my dataframe in a netCDF format, or is there anyone who > knows the easiest way to transport my data to VisIt? > > Have you tried the ncdf package? -- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.