search for: fullfilenames

Displaying 3 results from an estimated 3 matches for "fullfilenames".

2003 Oct 16
2
returning dynamic variable names from function
...ck, but again, the names of the lists to pass back have been "assign-ed" to the filename. See code snippet below, especially the "*** WHAT DO I PUT HERE ***" part! Thanks in advance for any help!!! -Scott CODE SNIPPET BELOW: loadFiles <- function() { fullFileNames <- choose.files(filters = c("Fluor file (*.data,*.Dat)", "*.dat;*.Dat")) numFiles <- length(fullFileNames) fileNames <- basename(fullFileNames) # removes the all the paths from the full filenames splitNames <- strsplit(fileNames,"_") # create a &...
2010 Feb 08
0
Use FLAC__stream_encoder_init_FILE instead of FLAC__stream_encoder_init_file
Hi, I use the libflac to encoder wav files to flac, my code: FLAC__StreamEncoder *encoder = 0; > > >> if((encoder = FLAC__stream_encoder_new()) == NULL) > > { > > printf(_T("ERROR: allocating encoder")); > > return; > > } > > >> FLAC__stream_encoder_set_channels ( encoder, 2 ); > > FLAC__stream_encoder_set_bits_per_sample (
2010 Sep 15
2
Get File Names in Folder, Read Files, Update, and Write
Dear All, Could you please recommend how I can do this? I have several text files in one folder. Let's name them A0801.RSK, A0802.RSK, .... I would like R to 1) Know all file names in this folder 2) Update value in one column of these files 3) Write results in another text file with _xval in the file names Below is R code for read, update, and write one file