如何上传数据进行分析

时间:2016-05-06 17:31:51

标签: r shiny

我想添加一个上传数据的功能。我试过条件面板,但没有运气。我在下面附上我的代码。我所做的是我在ui部分之前包含了模拟数据,并构建了其余的代码。感谢

procedure  GetWin32_DiskDriveInfo;
const
  WbemUser            ='';
  WbemPassword        ='';
  WbemComputer        ='localhost';
  wbemFlagForwardOnly = $00000020;
var
  FSWbemLocator : OLEVariant;
  FWMIService   : OLEVariant;
  FWbemObjectSet: OLEVariant;
  FWbemObject   : Variant;
  oEnum         : IEnumvariant;
  sValue        : string;
begin  
  FSWbemLocator := CreateOleObject('WbemScripting.SWbemLocator');
  FWMIService   := FSWbemLocator.ConnectServer(WbemComputer, 'root\CIMV2', WbemUser, WbemPassword);
  FWbemObjectSet:= FWMIService.ExecQuery('SELECT * FROM Win32_DiskDrive','WQL',wbemFlagForwardOnly);
  oEnum         := IUnknown(FWbemObjectSet._NewEnum) as IEnumVariant;
  while oEnum.Next(1, FWbemObject, nil) = 0 do

dat#data 的 UI

library(shiny)

1 个答案:

答案 0 :(得分:0)

你在找fileInput之类的东西吗?见http://shiny.rstudio.com/gallery/upload-file.html