Displaying 8 results from an estimated 8 matches for "inputdir".
2010 Jan 15
2
processing all files with certain extension in a directory
Hi all,
I'm trying to process all files with a certain extension "*.ext" in a
directory like this:
> R --slave --args /my/dir < dir_plot.r
where I then I want to do something like:
myarg <- commandArgs()
inputdir <- myarg[length(myarg)]
print(inputdir)
"for file with extension "*.ext in inputdir"
do
data = process.data(file)
outfile = paste(file,".png",sep="")
png(outfile,width=3200,height=2400)
do.a.plot(data)
dev.off()
done
q()
How can I do the file looping...
2008 Feb 19
4
How to join path with arguments
Hi, all
How to format and join strings ?
For example, like following short python examples.
*********
name1 = 'sample-plot'
filename = '%s.png' % name1
inputdir = '/path/to/dir'
os.path.join(inputdir, filename)
**********
Best,
Hyunchul Kim
[[alternative HTML version deleted]]
2004 Dec 03
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...ile
> > RelativePath="..\..\utils\TableGen\FileLexer.l">
> > <FileConfiguration
> > Name="Debug|Win32">
> > <Tool
> > Name="VCCustomBuildTool"
> > CommandLine="..\tools\flex -t >$(InputDir)$(InputName).cpp $(InputPath)
> > "
> > Outputs="$(InputDir)$(InputName).cpp"/>
> > </FileConfiguration>
> > <FileConfiguration
> > Name="Release|Win32">
> > <Tool
> > Name="VCCus...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...</File>
> <File
> RelativePath="..\..\utils\TableGen\FileLexer.l">
> <FileConfiguration
> Name="Debug|Win32">
> <Tool
> Name="VCCustomBuildTool"
> CommandLine="..\tools\flex -t >$(InputDir)$(InputName).cpp $(InputPath)
> "
> Outputs="$(InputDir)$(InputName).cpp"/>
> </FileConfiguration>
> <FileConfiguration
> Name="Release|Win32">
> <Tool
> Name="VCCustomBuildTool"
> Comma...
2018 Jul 26
4
Problem with definition of slist in CFEngine
...uot;,
"sys.fstab .................. = $(sys.fstab)",
"sys.hardware_addresses ..... = $(sys.hardware_addresses)",
"sys.host ................... = $(sys.host)",
"sys.inet ................... = $(sys.inet)",
"sys.inputdir ............... = $(sys.inputdir)",
"sys.interface .............. = $(sys.interface)",
"sys.interfaces ............. = $(sys.interfaces)",
"sys.interfaces_flags ....... = $(sys.interfaces_flags)",
"sys.ip_addresses ...........
2008 Nov 28
2
AIC function and Step function
I would like to figure out the equations for calculating "AIC" in both
"step() function" and "AIC () function". They are different. Then I
just type "step" in the R console, and found the "AIC" used in "step()
function" is "extractAIC". I went to the R help, and found:
"The criterion used is
AIC = - 2*log L + k *
2018 Jul 26
0
Problem with definition of slist in CFEngine
...quot;sys.fstab .................. = $(sys.fstab)",
> "sys.hardware_addresses ..... = $(sys.hardware_addresses)",
> "sys.host ................... = $(sys.host)",
> "sys.inet ................... = $(sys.inet)",
> "sys.inputdir ............... = $(sys.inputdir)",
> "sys.interface .............. = $(sys.interface)",
> "sys.interfaces ............. = $(sys.interfaces)",
> "sys.interfaces_flags ....... = $(sys.interfaces_flags)",
> "sys.ip_ad...
2009 Sep 23
2
mailalias type: automatic rebuild of aliases.db?
...r exec { "othernewaliases": with
something like onlyif => [test /etc/aliases -nt /etc/aliases.db ] ?
Or rather insist that all such boxes have their aliases file maintained by
Puppet?
Thanks
--
John Ingersoll, Jr.
Usage: fortune -P [] -a [xsz] [Q: [file]] [rKe9] -v6[+] dataspec ...
inputdir
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to puppet-users+unsubscribe@...